package com.steven.team.service

import com.alibaba.fastjson.JSONObject
import com.steven.team.pojo.MatchInfo
import org.springframework.web.multipart.MultipartFile

interface MatchService {
    fun calculateMatch(uid: Long): JSONObject
    fun searchMatchDetailById(uid: Long, id: Long): JSONObject
    fun addHistory(uid: Long, matchId: Long): JSONObject
    fun searchTeamByMatch(matchId: Long): JSONObject
    fun searchTop10MatchRecent(): JSONObject
    fun searchHistory(uid: Long): JSONObject
    fun addToCollection(matchId: Long, uid: Long): JSONObject
    fun deleteCollectionById(uid: Long, matchId: Long): JSONObject
    fun selectCollectionsByUser(uid: Long, lastCreateTime: Long): JSONObject
    fun addMatch(uid: Long, matchInfo: MatchInfo): JSONObject
}